PowerTCP Mail for .NET
Copy(ImapMessage[],Mailbox) Method




Subset of messages found in this MailBox.
Destination mailbox.
Copies an ImapMessageCollection of messages from this mailbox to the specified mailbox.
Syntax
Public Overloads Function Copy( _
   ByVal messages() As ImapMessage, _
   ByVal destination As Mailbox _
) As ImapResponse
Dim instance As Mailbox
Dim messages() As ImapMessage
Dim destination As Mailbox
Dim value As ImapResponse
 
value = instance.Copy(messages, destination)
public ImapResponse Copy( 
   ImapMessage[] messages,
   Mailbox destination
)
public: ImapResponse* Copy( 
   ImapMessage*[]* messages,
   Mailbox* destination
) 

Parameters

messages
Subset of messages found in this MailBox.
destination
Destination mailbox.
Remarks
Copies the messages specified to another mailbox. This method results in an IMAP COPY command being used. The command uses the UIDs of the messages to perform the copy operation. This method is useful for bulk operations. Use ImapMessage.CopyTo to copy a single message.
See Also

Reference

Mailbox Class
Mailbox Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic